package br.jcrsistemas.syscomercio.cadastros.janelas;

import br.jcrsistemas.componentes.SysCNPJ;
import br.jcrsistemas.componentes.SysTextField;
import java.text.ParseException;

import javax.swing.JLabel;
import javax.swing.JPanel;

public class PanelPessoaJuridica extends JPanel {

    private JLabel lblCNPJ;
    private SysCNPJ txtCNPJ;
    private JLabel scmlblIe;
    private SysTextField sisComTextField;
    private JLabel scmlblNomeFantasia;
    private SysTextField sisComTextField_1;

    /**
     * Create the panel.
     */
    public PanelPessoaJuridica() {

        initComponents();
    }

    private void initComponents() {
        setLayout(null);

        lblCNPJ = new JLabel();
        lblCNPJ.setText("CNPJ:");
        lblCNPJ.setBounds(12, 12, 38, 16);
        add(lblCNPJ);

        try {
            txtCNPJ = new SysCNPJ();
        } catch (ParseException e) {
            e.printStackTrace();
        }
        txtCNPJ.setBounds(52, 9, 131, 23);
        add(txtCNPJ);

        scmlblIe = new JLabel();
        scmlblIe.setText("I.E:");
        scmlblIe.setBounds(198, 12, 26, 16);
        add(scmlblIe);

        sisComTextField = new SysTextField();
        sisComTextField.setTamanho(15);
        sisComTextField.setBounds(226, 9, 108, 23);
        add(sisComTextField);

        scmlblNomeFantasia = new JLabel();
        scmlblNomeFantasia.setText("Nome fantasia:");
        scmlblNomeFantasia.setBounds(342, 12, 117, 16);
        add(scmlblNomeFantasia);

        sisComTextField_1 = new SysTextField();
        sisComTextField_1.setTamanho(70);
        sisComTextField_1.setBounds(457, 9, 281, 23);
        add(sisComTextField_1);
    }
}
